package com.sdp.th.db.th_eq_alarm_trend_log.service;

import com.sdp.th.entity.ThEqAlarmTrendLog;
import com.sdp.th.entity.ThEqState;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 设备趋势报警日志 服务类
 * </p>
 *
 * @author zsp
 * @since 2025-04-16
 */
public interface IThEqAlarmTrendLogService extends IService<ThEqAlarmTrendLog> {

	/**
	 * 验证温湿度数据是否需要趋势报警
	 * @param thEqState
	 */
	boolean verifyTrendAlarm(ThEqState thEqState);
	
	int needHandleAlarmCount();
}
